<template>
  <div id="dp_header">
    <div class="header-common-bar header">
      <div class="header-common-bar-zone">
        <div class="header-common-bar-area header-app-logo">
          <router-link to="/"><img :src="log_url" alt="" /> </router-link>
        </div>
        <div class="header-common-bar-area">
          <router-link to="/">
            <el-icon class="icon el-icon-s-home"></el-icon>
            <span>首页</span></router-link>
        </div>
        <div class="header-common-bar-area">工作台</div>
        <div class="header-common-bar-area">服务</div>
      </div>
      <div class="header-common-bar-zone">
        <div class="header-common-bar-area">
          <el-tooltip class="box-item" effect="dark" content="通知" placement="bottom">
            <el-icon>
              <BellFilled />
            </el-icon>
          </el-tooltip>
        </div>
        <div class="header-common-bar-area">
          <el-tooltip class="box-item" effect="dark" content="待办事宜" placement="bottom">
            <el-icon>
              <CircleCheck />
            </el-icon>
          </el-tooltip>
        </div>
        <div class="header-common-bar-area">
          <el-tooltip class="box-item" effect="dark" content="帮助信息" placement="bottom">
            <el-icon>
              <QuestionFilled />
            </el-icon>
          </el-tooltip>
        </div>
        <div class="header-common-bar-area">
          <el-icon>
            <Avatar />
          </el-icon>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup>
let log_url = require("@/assets/log/logo202107.svg");
</script>

<style lang="scss" scoped>
.header {
  box-shadow: var(--box-line-shadow);
}

.el-icon {
  color: var(--icon-base-color);
}

.header-common-bar {
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: space-between;
  background-color: var(--base-global-bg);
  color: var(--base-text);

  .header-common-bar-zone {
    display: flex;
    justify-content: center;
    align-content: center;
    padding: 8px;
    gap: 8px;

    .header-common-bar-area {
      padding: 4px 20px;

      a {
        color: var(--base-text);
      }

      a:hover {
        color: var(--brand-hover);
      }
    }
  }

  .header-app-logo {
    height: 32px;
    display: flex;
    padding: 0 !important;
    justify-content: center;
    align-items: center;
  }
}
</style>